module dgl.GameWindow;

import derelict.sdl.sdl;
import derelict.sdl.video;

import dgl.Rectangle;

class GameWindow
{
	package static const int defaultClientWidth;
	package static const int defaultClientHeight;
	
	private char[] m_title;
	
	private Rectangle m_clientBounds;
	
	static this()
	{
		defaultClientWidth = 800;
		defaultClientHeight = 600;
	}
	
	package this()
	{
		m_title = "DGL Game";
		m_clientBounds = Rectangle( 0, 0, defaultClientWidth, defaultClientHeight );
	}
	
	public char[] title()
	{
		return m_title;
	}
	
	public void title( char[] title )
	{
		m_title = title;
	}
	
	public Rectangle clientBounds()
	{
		return m_clientBounds;
	}
	
	public void clientBounds( Rectangle clientBounds )
	{
		m_clientBounds = clientBounds;
	}
}